package common;

import java.io.Serializable;
import java.util.Vector;

public class Select implements Serializable {
    private String id;
    private String courseid;
    private String name;
    private Vector<User> selected=new Vector<>();//被选者名单
    //新建选人用 构造函数
    public Select(String name,String courseid) {
        this.name = name;
        this.courseid=courseid;
    }

    public Select(String id,String courseid, String name, Vector<User> selected) {
        this.id = id;
        this.courseid=courseid;
        this.name = name;
        this.selected = selected;
    }

    public String getId() {
        return id;
    }
    public String getCourseid() {
        return courseid;
    }
    public String getName() {
        return name;
    }
    public Vector<User> getSelected() {
        return selected;
    }

    public void setSelected(Vector<User> selected) {
        this.selected = selected;
    }
}
